package com.fcy.teamwork.business.checkapply

import com.fcy.teamwork.pojo.JobApply
import com.fcy.teamwork.pojo.JobApplyDetail
import com.fcy.teamwork.pojo.TeamWorkResult
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface JobApplyService {
    @POST("sms/apply/processApply")
    suspend fun processApply(@Body apply: JobApply): TeamWorkResult<Any?>

    @GET("sms/apply/loadApply")
    suspend fun loadAllApplyWithMe():TeamWorkResult<List<JobApplyDetail>>
}